package company;

public class Emp1 {
    private String e_id;//防止别的类使用它，别的类想要使用它，必须先得定义一个方法
    private String e_name;
    public Emp1( String e_id,String e_name) {
        this.e_id = e_id;
        this.e_name = e_name;
    }
    public String getE_id() {
        return e_id;
    }
    public void setE_id(String e_id) {
        this.e_id = e_id;
    }
    public String getE_name() {
        return e_name;
    }
    public void setE_name(String e_name) {
        this.e_name = e_name;
    }

}